.Net Framework > v2.0.50727 > System > Web > Security > FormsAuthentication > SetAuthCookie SetAuthCookie(String,Boolean)
SetAuthCookie(String,Boolean,String)


SetAuthCookie(String,Boolean)

Category
Method
Description
Creates an authentication ticket for the supplied user name and adds it to the cookies collection of the response or the URL.
Type
void
Character
public, static
Parameters
NameTypeDescription
userNameString
createPersistentCookieBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

SetAuthCookie(String,Boolean,String)

Category
Method
Description
Creates an authentication ticket for the supplied user name and adds it to the cookies collection of the response, using the supplied cookie path or the URL.
Type
void
Character
public, static
Parameters
NameTypeDescription
userNameString
createPersistentCookieBoolean
strCookiePathString
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database